<script setup>
import { ref } from 'vue'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

// 检查是否为生产环境
const isProduction = import.meta.env.PROD
const showDebugBar = ref(false)
</script>

<template>
  <div class="admin-app">
    <el-config-provider :locale="zhCn">
  
      
      <router-view />
    
    </el-config-provider>
  </div>
</template>

<style>
.admin-app {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  width: 100%;
  height: 100%;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

#app {
  height: 100%;
}

.debug-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fdf6ec;
  padding: 10px;
  border-bottom: 1px solid #e6a23c;
  z-index: 2000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
</style>
